<!DOCTYPE html>
<html lang="en" ng-app="userApp" ng-controller="userCtrl">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script type="text/javascript" src="../../javascript/jquery-1.9.1.min.js"></script>
  <script src="../../frame/angular/base/angular.js" type="text/javascript"></script>
  <script src="../../js/angular/04-23.js" type="text/javascript"></script>
</head>
<body>
<!--<input type="text" name="name" ng-model="userName"/>
&lt;!&ndash;{{userName}}&ndash;&gt;
&lt;!&ndash;<span ng-bind="a"></span>&ndash;&gt;
<div>
 &lt;!&ndash; <ul>
    <li ng-repeat="a in arr">
      {{a}}
    </li>
  </ul>&ndash;&gt;

  <select ng-options="o.id as o.uname for o in obj" ng-model="sex">
  </select>
  {{sex}}
</div>-->
<table border="1">
  <tr>
    <th>序号</th>
    <th>姓名</th>
    <th>性别</th>
    <th>年龄</th>
    <th>角色</th>
    <th>添加时间</th>
  </tr>
  <tr ng-repeat="i in userList">
    <td>{{$index+1}}</td>
    <td>{{i.name}}</td>
    <td>{{i.sex===0?'男':'女'}}</td>
    <td>{{i.age}}</td>
    <td>{{i.role===0?'小丑':'卓别林'}}</td>
    <td>{{i.addDateTime|date:'yyyy/MM/dd hh:mm:ss'}}</td>
  </tr>
</table>
</body>
</html>
